ShortPixel\Controller\FileSystemController B

Total Complexity 86
Dependencies 6
Dependents 2
Total lines 500
Lines of code 295
Logical lines of code 182
Comment lines 105
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
40 21 54
getBackupDirectory()
A
48 9 32
pathIsUrl()
S
61 9 10
returnOldSubDir()
S
52 6 23
getMediaImage()
S
57 5 16
downloadFile()
S
50 4 30
sortFiles()
S
58 4 16
url_exists()
S
57 3 18
getFilesRecursive()
S
61 3 13
getCustomImage()
S
62 3 12
getWPFileBase()
S
61 3 12
getWPAbsPath()
S
62 3 11
getImage()
S
64 3 10
checkURL()
S
64 3 10
__construct()
S
80 1 3
getFile()
S
80 1 3
getCustomStub()
S
73 1 5
getOriginalImage()
S
72 1 5
getDirectory()
S
80 1 3
getWPUploadBase()
S
74 1 4
checkBackUpFolder()
S
73 1 5